<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script type="text/javascript" src="http://libs.baidu.com/jquery/2.1.1/jquery.min.js"></script>
</head>
<body>
    测试页面
    <div class="content">


    </div>
</body>
<script type="text/javascript">
    $.post("http://localhost:8080/obj",{"data":"test"},function(data){
        console.log(data);
        for(var x in data.map){
            var html = "<div class='item'>key:"+x+" - value:"+data.map[x]+"</div>";
            $(".content").append(html);
        }
    });
</script>
</html>